<template>
  <div>
        <barChart width="600px" height="400px" :gridData="gridData" :serData="serData"></barChart>
  </div>
</template>
<script>
import barChart from '@/components/charts/barChart'
export default {
  name: 'salarynIndex',
  components:{
    barChart
  },
  data() {
    return {
      gridData:{
        top:"30%",
        left:"10%",
      },
      serData:{
        title:"堆叠图表",
        list:[{
              name: 'Direct',  //x轴需要
              data: [320, 332, 301, 334, 390, 330, 320]
            },
            {
              name: 'Email',
              data: [120, 132, 101, 134, 90, 230, 210]
            },
            {
              name: 'Union Ads',
              data: [220, 182, 191, 234, 290, 330, 310]
            },
            {
              name: 'Video Ads',
               data: [150, 232, 201, 154, 190, 330, 410]
            },
            {
              name: '发动机',
              data: [862, 1018, 964, 1026, 1679, 1600, 1570],
              markLine: {
                lineStyle: {
                  type: 'dashed'
                },
                data: [[{ type: 'min' }, { type: 'max' }]]
              }
            },
            {
              name: 'Baidu',

              data: [620, 732, 701, 734, 1090, 1130, 1120]
            },
            {
              name: 'Google',
              data: [120, 132, 101, 134, 290, 230, 220]
            },
            {
              name: 'Bing',
              data: [60, 72, 71, 74, 190, 130, 110]
            },
            {
              name: 'Others',
              data: [62, 82, 91, 84, 109, 110, 120]
            }]
      }
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>